package main

import (
	"xiezhi/config"
	"xiezhi/routes"
)

func main() {
	r := routes.InitRouter()
	port := config.GetEnvDefault("HTTP_PORT", "9090")
	r.Run(":" + port) // 监听并在 0.0.0.0:9090 上启动服务
}
